D = input()
D = D.replace('zero ', "0")
D = D.replace('one ', "1")
D = D.replace('two ', "2")
D = D.replace('three ', "3")
D = D.replace('four ', "4")
D = D.replace('five ', "5")
D = D.replace('six ', "6")
D = D.replace('seven ', "7")
D = D.replace('eight ', "8")
D = D.replace('nine ', "9")
print(D)
def pch(D):
    D += 1
    for i in range(2, D):
        if D % i == 0:
            return False
    return False
        else:
        print('Wrong input')
